import type { RouteRecordRaw } from 'vue-router';

import Layout from '@/layouts/index.vue';

export const homeRoutes: RouteRecordRaw[] = [
  {
    path: '/',
    component: Layout,
    redirect: '/home/index',
    children: [
      {
        path: '/home/index',
        name: 'HomeIndex',
        component: () => import('@/views/home/index.vue'),
        meta: {
          title: '设备可视化',
          keepAlive: true,
        }
      }
    ]
  }
];
